
<header class="ui-header ui-header-positive ui-border-b">
    赞助我的记录
</header>
<section class="ui-container">
<ul class="ui-list ui-list-link ui-border-tb">

    <?php $sum=0; foreach($donatelist as $item):
        $sum = $sum + $item['fee'];
        ?>
    <li class="ui-border-t active">
        <div class="ui-list-thumb">
            <span style="background-image:url(<?=$item['headimgurl']?>)"></span>
        </div>
        <div class="ui-list-info">
            <h4 class="ui-nowrap"><?=$item['nickname'].'捐赠了'.$item['fee']/100;?>元</h4>
        </div>
    </li>
    <?php endforeach;?>
    进度:<div class="ui-progress ui" style="height:0.2rem">
        <span style="width:<?php echo ($sum/$myexpect)>5?($sum/$myexpect):5;?>%;"></span>
    </div>
</ul>
</section>


